package com.opgea.crm.services.security;

import java.util.List;

import com.opgea.crm.common.vo.RoleVo;
import com.opgea.crm.domain.entities.security.Role;
import com.opgea.crm.domain.modal.QualifierModel;

public interface RoleService {

	public void create(Role role);
	public Role find(Long id);
	public List<Role> findAll();
	
	public void update(Role role);
	public void remove(Long id);
	
	public List<QualifierModel> findAllRoleNames();
	public List<RoleVo> findAllByName(String name);
	public List<RoleVo> findAllRoles();
	public List<RoleVo> findAllRolesByGroup(Long groupId, boolean onlyAssigned);
}
